/*
 * @Description: 
 * @Author: GuoYaoHua
 * @Date: 2024-11-15 13:31:25
 * @LastEditors: rendc
 * @LastEditTime: 2024-11-15 13:39:35
 * 尽人事，听天命
 */
import { createMemoryHistory, createRouter } from 'vue-router'

import Login from '@/views/Login.vue'
import Register from '@/views/Register.vue'

const routes = [
  { path: '/', component: Login },
  { path: '/about', component: Register },
]

const router = createRouter({
  history: createMemoryHistory(),
  routes,
})

export default router